#ifndef GAMES_H
#define GAMES_H

#include "stdafx.h"
#include <stdlib.h>
#include <stdarg.h>
#include <stdio.h>
#include <math.h>
#include <windows.h>		// Header File For Windows
#include <gl\gl.h>			// Header File For The OpenGL32 Library
#include <gl\glu.h>			// Header File For The GLu32 Library
//#include <gl\glaux.h>		// Header File For The Glaux Library

namespace games
{
	enum Type
	{
		RED, TO_RED,
		BLUE, TO_BLUE,
		GREEN, TO_GREEN,
		PURPLE, TO_PURPLE,
		YELLOW, TO_YELLOW,
		GRAY, END, BOMB
	};

	typedef struct Block
	{
		float border_x_neg;
		float border_y_neg;
		float border_x_pos;
		float border_y_pos;
		float center[2];
		Type type;
	}Block;

	typedef struct Box
	{
		int col;
		int row;
		Type type;
	}Box;

	enum Mode{
		PUZZLE,
		OUTBLAST
	};

	Box * get_game(int game_id, int & blocks, float ** center, games::Type & type, int & back, Mode & mode);

}

#endif